package org.springblade.modules.repair.vo.sign;

import cn.hutool.core.util.RandomUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 按照日期统计
 * @author zcc
 * @version 1.0
 * @date 2022/8/17 11:09
 */
@Data
public class UserGroupSignDetailVo implements Comparable<UserGroupSignDetailVo> {

	private String signTypeName;

	private String msg;

	private Integer id = RandomUtil.randomInt();

	private List<UserSignCommonVo> list;

	private Integer userCoutns = 0;

	@ApiModelProperty("树形等级1:表示第一级，2：表示第二级")
	private Integer floor;


	@Override
	public int compareTo(UserGroupSignDetailVo o) {
		return o.getUserCoutns().compareTo(this.getUserCoutns());
	}
}
